package com.galudisu.handsonic.modules.system.service;

import com.galudisu.handsonic.modules.system.domain.Role;

import java.util.Collection;
import java.util.List;
import java.util.Set;

public interface RoleService {


    Role createRole(Role role);
    Role updateRole(Role role);
    void deleteRole(String roleId);

    Role findOne(String roleId);
    List<Role> findAll();

    List<String> findNamesByContains(Collection<String> roleIds);

    void save(Set<Role> roles);
}
